package com.bright.tactiviti.Service;

import org.activiti.engine.*;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class GetActivitiService {

    @Autowired
    private RepositoryService repositoryService;

    @Autowired
    private RuntimeService runtimeService;

    @Autowired
    private TaskService taskService;

    @Autowired
    private HistoryService historyService;

    @Autowired
    private FormService formService;

    @Autowired
    private IdentityService identityService;

    @Autowired
    private ManagementService managementService;

    /**
     * 进行测试
     */

    @Test
    public void isEmpty(){
        if(repositoryService != null){
            System.out.println("repositoryService 获取成功");
        }else
            System.out.println("respositoryService 获取失败");
        if(runtimeService != null)
            System.out.println("runtimeService获取成功");
        else
            System.out.println("runtimeService获取失败");

    }


}
